<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
</head>
<body>
<div ng-app="myApp">
    <div ng-controller="firstController">
        <!--123,456,789-->
        <p>{{123456789 | number}}</p>

        <!--1,234.568-->
        <p>{{1234.56789 | number : 3 }}</p>

        <!--$9,999,999.00-->
        <p>{{9999999 | currency}}</p>

        <!--rmb9,999,999.00-->
        <p>{{9999999 | currency:'rmb'}}</p>

        <p>
            default:{{ now }}
        </p>

        <p>
            medium: {{ now | date:'medium'}}
        </p>

        <p>
            short:{{ now | date:'short'}}
        </p>

        <p>
            fullDate:{{ now | date:'fullDate'}}
        </p>

        <p>
            longDate:{{ now | date:'longDate'}}
        </p>

        <p>
            mediumDate:{{ now | date:'mediumDate'}}
        </p>

        <p>

            shortDate:{{ now | date:'shortDate'}}
        </p>

        <p>
            mediumTime:{{ now | date:'mediumTime'}}
        </p>

        <p>
            shortTime:{{ now | date:'shortTime'}}
        </p>

        <p>year: </p>
        <p>{{now | date : 'y'}}</p>
        <p>{{now | date : 'yy'}}</p>
        <p>{{now | date : 'yyyy'}}</p>

        <p>
            month:</p>
        <p> {{now | date : 'M'}}</p>
        <p> {{now | date : 'MM'}}</p>
        <p>{{now | date : 'MMM'}}</p>
        <p>{{now | date : 'MMMM'}}</p>

        <p>
            day:</p>
        <p>{{now | date : 'd'}}</p>
        <p> Day in month {{now | date : 'dd'}}</p>
        <p> Day in week {{now | date : 'EEEE'}}</p>
        <p> {{now | date : 'EEE'}}
        </p>

        <p>
            hour:</p>
        <p>{{now | date : 'HH'}}</p>
        <p> {{now | date : 'H'}}</p>
        <p> {{now | date : 'hh'}}</p>
        <p> {{now | date : 'h'}}
        </p>

        <p>
            minute:</p>
        <p> {{now | date : 'mm'}}</p>
        <p> {{now | date : 'm'}}
        </p>

        <p>
            second:</p>
        <p> {{now | date : 'ss'}}</p>
        <p> {{now | date : 's'}}</p>
        <p> {{now | date : '.sss'}}
        </p>

        <p>
            {{now | date : 'y-MM-d H:m:s'}}
        </p>

    </div>

</div>


<script src="../../vendor/angular/angularjs.js" type="text/javascript"></script>
<script type="text/javascript" src="app/index.js"></script>
</body>
</html>